import Vue from "vue";
import Vuex from "vuex";
import app from "./modules/app";
import tagsView from "./modules/tagsView";
import settings from "./modules/settings";
import dict from "./modules/dict";
import getters from "./getters";

import mutations from "./mutations";
import state from "./state";
import * as actions from "./actions";

Vue.use(Vuex);

const store = new Vuex.Store({
  modules: {
    app,
    tagsView,
    settings,
    dict, //字典数据
  },
  getters,
  state,
  actions,
  mutations,
});

export default store;
